<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:cc="http://xmlns.jcp.org/jsf/composite"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

    <!-- INTERFACE -->
    <cc:interface>
    </cc:interface>

    <!-- IMPLEMENTATION -->
    <cc:implementation>

        <h:panelGrid columns="2">
            
            <h:graphicImage width="64" height="64"
                            library="images" name="player.png" />

            <h:panelGrid columns="2">
                <h:outputLabel value="#{bundle.playerFullName}:"
                               for="dialogChooserPlayerFullName" />
                <h:outputText value="#{record.firstName} #{record.lastName}"
                              id="dialogChooserPlayerFullName" />

                <h:outputLabel value="#{bundle.team}:" 
                               for="dialogChooserPlayerTeamName" />
                <h:outputText value="#{record.team.name}"
                              id="dialogChooserPlayerTeamName" />

                <h:outputLabel value="#{bundle.shirtNumber}:" 
                               for="dialogChooserPlayerShirtNumber" />
                <h:outputText value="#{record.shirtNumber}" 
                              id="dialogChooserPlayerShirtNumber" />
            </h:panelGrid>
            
        </h:panelGrid>
        
    </cc:implementation>
    
</ui:composition>